tree view: Avoid a crash with rubberbanding
authorMatthias Clasen <mclasen@redhat.com>
Wed, 8 Apr 2015 22:54:45 +0000 (18:54 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 8 Apr 2015 22:54:45 +0000 (18:54 -0400)
commita89e99b0be15a1bfb401810a74d508b008459332
tree3d22d2b46b5b6b245bfe50ef266a9880e331f776
parentc0ac3c3386b555832ad0dc34745ad26dcd184fb4
tree view: Avoid a crash with rubberbanding

When a treeview is destroyed while rubberbanding is going
on, we crash because the rb tree is nuked before we want
to access it to stop the rubberbanding. To avoid this crash
end the rubberbanding early in destroy().

See
https://bugzilla.redhat.com/show_bug.cgi?id=1173904
gtk/gtktreeview.c